package com.why;

import java.io.Serializable;
import java.util.Date;




/**
 * 智能名片表
 *
 * @author why
 * @email ${email}
 * @date 2021-07-13 17:59:40
 */

public class SmartCard implements Serializable {

    /**
     * ID
     */

    private Long id;

    /**
     * 个人主数据编码
     */
    private String subject_no;
    /**
     * 企业的名字
     */
    private String subject_name;

    /**
     * 合伙人类型(1-合伙人 2-企业合伙人)
     */
    private Integer cooperator_type;
    /**
     * 账号pin
     */
    private String pin;

    /**
     * 合伙人上传的头像
     */
    private String cooperator_avatar;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSubject_no() {
        return subject_no;
    }

    public void setSubject_no(String subject_no) {
        this.subject_no = subject_no;
    }

    public String getSubject_name() {
        return subject_name;
    }

    public void setSubject_name(String subject_name) {
        this.subject_name = subject_name;
    }

    public Integer getCooperator_type() {
        return cooperator_type;
    }

    public void setCooperator_type(Integer cooperator_type) {
        this.cooperator_type = cooperator_type;
    }

    public String getPin() {
        return pin;
    }

    public void setPin(String pin) {
        this.pin = pin;
    }

    public String getCooperator_avatar() {
        return cooperator_avatar;
    }

    public void setCooperator_avatar(String cooperator_avatar) {
        this.cooperator_avatar = cooperator_avatar;
    }

    public SmartCard() {
    }

    public SmartCard(Long id, String subject_no, String subject_name, Integer cooperator_type, String pin, String cooperator_avatar) {
        this.id = id;
        this.subject_no = subject_no;
        this.subject_name = subject_name;
        this.cooperator_type = cooperator_type;
        this.pin = pin;
        this.cooperator_avatar = cooperator_avatar;
    }

    @Override
    public String toString() {
        return "SmartCard{" +
                "id=" + id +
                ", subject_no='" + subject_no + '\'' +
                ", subject_name='" + subject_name + '\'' +
                ", cooperator_type=" + cooperator_type +
                ", pin='" + pin + '\'' +
                ", cooperator_avatar='" + cooperator_avatar + '\'' +
                '}';
    }
}
